package com.qf.office.admin.common.qo;

import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.groups.Default;
import java.util.Date;

/**
 * 求职意向表
 *
 * @author 13782
 */
@Data
@Validated
public class JobIntentionQo {
    /**
     * 求职意向id
     */
    @NotNull(groups = {Update.class})
    @Min(value = 1, message = "ID格式不正确", groups = {Update.class})
    private Integer jobIntentionId;

    /**
     * 候选人id
     */
    @NotNull()
    @Min(value = 1, message = "ID格式不正确")
    private Integer candidateId;

    /**
     * 期望行业
     */

    private String desiredIndustry;

    /**
     * 期望职业
     */

    private String careerExpectancy;

    /**
     * 期望年薪
     */

    private String expectedAnnualSalary;

    /**
     * 期望工作地点
     */

    private String desiredLocation;

    /**
     * 创建时间
     */

    private Date createTime;

    /**
     * 0正常 1删除
     */

    private Integer delStatus;

    public interface Save extends Default {
    }

    public interface Update extends Default {
    }


}